<form ruleset="fileModuleConfig" action="./" method="post" class="form">
	<input type="hidden" name="module" value="file" />
	<input type="hidden" name="act" value="procFileAdminInsertModuleConfig" />
	<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
	<input type="hidden" name="target_module_srl" value="{$module_info->module_srl?$module_info->module_srl:$module_srls}" />
    <h3 class="h3">{$lang->file}</h3>
    <div class="table">
		<table width="100%" border="1" cellspacing="0">
			<tr>
			<th scope="row"><label for="allowed_filesize">{$lang->allowed_filesize}</label></th>
			<td class="text">
				<input type="text" name="allowed_filesize" id="allowed_filesize" value="{$file_config->allowed_filesize}"  size="3" style="width:30px" /> MB
				<p class="desc">{$lang->about_allowed_filesize}</p>
			</td>
		</tr>
		<tr>
			<th scope="row"><label for="allowed_attach_size">{$lang->allowed_attach_size}</label></th>
			<td class="text">
				<input type="text" name="allowed_attach_size" id="allowed_attach_size" value="{$file_config->allowed_attach_size}" size="3" style="width:30px" /> MB
				/ {ini_get('upload_max_filesize')}
				<p class="desc">{$lang->about_allowed_attach_size}</p>
			</td>
		</tr>
		<tr>
			<th scope="row"><label for="allowed_filetypes">{$lang->allowed_filetypes}</label></th>
			<td class="text">
				<input type="text" name="allowed_filetypes" id="allowed_filetypes" value="{$file_config->allowed_filetypes}" />
				<p class="desc">{$lang->about_allowed_filetypes}</p>
			</td>
		</tr>
		<tr>
			<th scope="row">{$lang->enable_download_group}</th>
			<td class="text">
				<!--@foreach($group_list as $k => $v)-->
				<input type="checkbox" class="checkbox" name="download_grant[]" value="{$v->group_srl}" id="grant_{$key}_{$v->group_srl}" <!--@if(in_array($v->group_srl, $file_config->download_grant))-->checked="checked"<!--@end-->/> 
				<label for="grant_{$key}_{$v->group_srl}">{$v->title}</label>
				&nbsp;
				<!--@end-->
			</td>
		</tr>
		</table>
	</div>
    <div class="btnArea">
		<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
	</div>
</form>
